Real-time geometric lens distortion correction using a graphics processing unit
نویسندگان
چکیده
Optical imaging systems often suffer from distortion artifacts which impose important limitations on the direct interpretation of the images. It is possible to correct for these aberrations through image processing, but due to their calculation-intensive nature, the required corrections are typically performed offline. However, with image-based applications that operate interactively, real-time correction of geometric distortion artifacts can be vital. We propose a new method to generate undistorted images by implementing the required distortion correction algorithm on a commercial graphics processing unit (GPU), distributing the necessary calculations to many stream processors that operate in parallel. The proposed technique is not limited to affine lens distortions but allows for the correction of arbitrary geometric image distortion artifacts through individual pixel resampling at display rates of more than 30 frames per second for fully processed images (1024 × 768 pixels). Our method enables real-time GPU-based geometric lens distortion correction without the need for additional digital image processing hardware. 1 Introduction Optical lenses can introduce a wide variety of geometric distortion artifacts to an imaging system, which reduces the perceptive quality of the resulting images. Especially in imaging systems with a wide viewing angle, such as endoscopes, image distortion can be very pronounced. Local variations in the index of refraction of the medium through which an object is observed will also cause image distortions. Such distortions cannot be described by a simple affine transformation. To correct for these visual aberrations, numerous recalibration algorithms have been described 1,2 and software that remaps the produced image pixels accordingly is widely available. 3 The recalibration process typically requires more processing power than modern central processing units (CPUs) can deliver when applied in real-time, and the lens distortion correction process is therefore often performed offline. However, in many applications in medical imaging, computer vision, and industrial monitoring, interaction with the user or environment requires real-time production of undistorted images to enable the accurate perception of distance and shape. 4 To this end, a distortion correction method was described 5 that effectively exploits the capability of standard graphics processing units (GPUs) to reposition triangle vertex coordinates at high speeds. This method can only correct for the dominant radial distortion effects (also known as barrel or pincushion distortion) as it relies on a general affine transformation formula and does not permit pixel-by-pixel resampling. To enable pixel-by-pixel resampling at video rates, special-purpose hardware-based solutions based on field programmable gate arrays (FPGAs)
منابع مشابه
Multi-Projector Image Correction on the GPU
Multi-projector displays require a variety of image correction techniques. Geometric distortions resulting from projecting onto non-planar display surfaces and non-linear properties of projector lenses must be corrected to produce usable images. Photometric issues such as varying luminance response between projectors and brightness discontinuities in projector overlap regions must also be corre...
متن کاملReal time camera ego - motion compensation and lens undistortion on GPU
This paper describes a GPU implementation for simultaneous camera ego-motion compensation and lens undistortion. The main idea is to transform the image under an ego-motion constraint so that tracked points in the image, that are assumed to come from the ego-motion, maps as close as possible to their average position in time. The lens undistortion is computed simultaneously. We compare the perf...
متن کاملMarkerless View-Independent Registration of Multiple Distorted Projectors on Extruded Surfaces Using Uncalibrated Camera
In this paper, we present the first algorithm to geometrically register multiple projectors in a view-independent manner (i.e. wallpapered) on a common type of curved surface, vertically extruded surface, using an uncalibrated camera without attaching any obtrusive markers to the display screen. Further, it can also tolerate large non-linear geometric distortions in the projectors as is common ...
متن کاملPer-Pixel Calibration for RGB-Depth Natural 3D Reconstruction on GPU
OF THESIS Per-Pixel Calibration for RGB-Depth Natural 3D Reconstruction on GPU Ever since the Kinect brought low-cost depth cameras into consumer market, great interest has been invigorated into Red-Green-Blue-Depth (RGBD) sensors. Without calibration, a RGBD camera’s horizontal and vertical field of view (FoV) could help generate 3D reconstruction in camera space naturally on graphics processi...
متن کاملImplementation of Symmetric Dynamic Programming Stereo Matching Algorithm Using CUDA
Stereo correspondence is a computationally intensive procedure, real-time depth map generation for high resolution video is beyond the capability of mainstream CPUs available today. Similar to many other vision algorithms, there is a high degree of parallelism available in most of the correspondence algorithms, making multiprocessor architectures as an obvious choice. Here we describe the imple...
متن کامل